package cn.iocoder.yudao.module.lfd.dal.dataobject.number;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 递增号 DO
 *
 * @author 芋道源码
 */
@TableName("lfd_number")
@Data
@ToString(callSuper = true)
@KeySequence("lfd_number_seq")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NumberDO{

    /**
     * id
     */
    @TableId
    private Long id;
    /**
     * openid
     */
    private Long barberId;
    /**
     * 号码
     */
    private LocalDate seqDate;
    /**
     * appid
     */
    private Long seqNumber;

    /**
     * 乐观锁版本
     */
    private String version;

}
